#
# CPL Assignment 2
# Tim Caljé, Jeroen De Raedt & Jorick Van Aken
#
class SeatType
  
  attr_accessor :value      # generate setters and getters for @value
  def initialize(value)
    @value = value
  end

  BUSINESS = new("Business")
  FIRST_CLASS = new("FirstClass")
  ECONOMY = new("Economy")

  class << self             # disable the public constructor
    private :new
  end
    
end

class FlightsOrder
  
  attr_accessor :value      # generate setters and getters for @value
  def initialize(value)
    @value = value
  end

  CHEAPEST = new("Cheapest")
  SHORTEST = new("Shortest")

  class << self             # disable the public constructor
    private :new
  end
    
end